#include <stdio.h>
int function1 (int a);//prototype
int function2 (int a);
int iGloabl; //a global variable
int main (void)
{
	int iReturn;
	iGloabl = 9;
	iReturn = function1 (7);
	printf("Function returned %d\n", iReturn);
	iReturn = function2 (11);
	printf("Function returned %d\n", iReturn);
	printf("The final value of iGloabl is %d\n", iGloabl);
}
int function1 (int a)
{
	iGloabl = -a;
	return iGloabl + a;
}
int function2 (int a)
{
	iGloabl += --a;
	return iGloabl;
}


